package com.supply.pojo;

import lombok.Data;

@Data
public class RolePermission {
    private Long id;

    private Long roleId;

    private Long permission;

    public RolePermission(Long id, Long roleId, Long permission) {
        this.id = id;
        this.roleId = roleId;
        this.permission = permission;
    }

    public RolePermission() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getPermission() {
        return permission;
    }

    public void setPermission(Long permission) {
        this.permission = permission;
    }
}